package com.starchen.optimalselection.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.starchen.optimalselection.admin.model.AdminUserRole;
import com.starchen.optimalselection.admin.model.form.AssginRoleForm;
import com.starchen.optimalselection.admin.model.vo.UserRoleVo;

/**
 * @author daxilong
 * @date 2025/3/21 17:40
 */
public interface AdminUserRoleService extends IService<AdminUserRole> {

    //获取用户的角色数据
    UserRoleVo getUserRole(Long userId);

    //用户分配角色
    void relationSet(AssginRoleForm assginRoleVo);

}
